package com.xushan.dao;

import com.xushan.entity.User;

import java.util.Collection;

/**
 * Created by xushan_2 on 2017/5/11/.
 */
public interface UserDao {
    User getUser(int id);
    Collection<User> getUserList();
    int insertUser(User user);
    int updateUser(User user);
}
